set installation-path=C:\aplicacions\confluence-3.2-std
set lib-path=%installation-path%\confluence\WEB-INF\lib
set plugins-path=%installation-path%\confluence\WEB-INF\classes\com\atlassian\confluence\setup\atlassian-bundled-plugins.zip
set destination_path=c:\tmp\source_properties
set unzip="%PROGRAMFILES%\7-Zip\7z.exe" x -y -o"%destination_path%"

md %destination_path%

%unzip% %plugins-path%

copy %installation-path%\confluence\WEB-INF\classes\com\atlassian\confluence\userstatus\i18n.properties %destination_path%\userstatus_i18n.properties

%unzip% %lib-path%\confluence-*.jar                              com\atlassian\confluence\core\ConfluenceActionSupport.properties
%unzip% %lib-path%\confluence-tinymce-plugin-*.jar               com\atlassian\confluence\tinymceplugin\tinymce.properties
%unzip% %lib-path%\confluence-*.jar                              com\atlassian\confluence\macro\macro-fallback.properties
%unzip% %destination_path%\confluence-attachments-plugin-*.jar   com\atlassian\confluence\plugins\attachments_ca_ES.properties 
%unzip% %destination_path%\confluence-dashboard-macros-*.jar     com\atlassian\confluence\plugins\macros\dashboard\i18n.properties
%unzip% %destination_path%\confluence-jira3-plugin-*.jar         resources\jiraissues.properties
%unzip% %destination_path%\OfficeConnector-*.jar                 templates\extra\officeconnector.properties
%unzip% %destination_path%\linkbrowser-*.jar                     com\atlassian\confluence\plugins\linkbrowser\client\LinkBrowserI18n.properties
%unzip% %destination_path%\dashboard-actions-*.jar               com\atlassian\confluence\plugins\dashboard\i18n.properties
%unzip% %destination_path%\gadgets-plugin-*.jar                  com\atlassian\confluence\plugins\gadgets\i18n.properties
%unzip% %destination_path%\confluence-drag-and-drop-*.jar        i18n.properties
%unzip% %destination_path%\dynamictasklist2-*.jar                com\atlassian\confluence\extra\dynamictasklist2\messages.properties
%unzip% %destination_path%\confluence-flyingpdf-plugin-*.jar     com\tlassian\confluence\plugins\flyingpdf\i18n.properties
%unzip% %destination_path%\templates-framework-*.jar             template.properties
%unzip% %destination_path%\confluence-leftnavigation-theme-*.jar com\atlassian\confluence\extra\leftnavigation\leftnavigation.properties
%unzip% %destination_path%\clickr-theme-plugin-*.jar             clickr.properties
%unzip% %destination_path%\doctheme-*.jar                        doctheme\i18n.properties
%unzip% %destination_path%\fixedwidth-theme-*.jar                fixedwidth.properties
%unzip% %destination_path%\confluence-advanced-macros-*.jar      com\atlassian\confluence\plugins\macros\advanced\i18n.properties

del %destination_path%\*.jar

pause